package com.yulongtian.principles.demo02.after;

/**
 * @author YulongTian
 * @date 2022/7/8 - 14:51
 * 长方形类
 */
public class Rectangle implements SiBianXing {
    private double length;
    private double width;

    public void setLength(double length) {
        this.length = length;
    }

    public void setWidth(double width) {
        this.width = width;
    }


    public double getLength() {
        return length;
    }


    public double getWidth() {
        return width;
    }
}
